<?php
/**
 * Created by PhpStorm.
 * User: gyq
 * Date: 2018/11/3
 * Time: 11:19
 */

namespace app\api\model;


use think\Model;

class BannerItem extends Model
{
    protected $hidden = ['id','img_id','delete_time','update_time','banner_id'];
    public function img()
    {
        return $this->belongsTo('Image','img_id','id');
    }
}